//
//  UserModel.m
//  Deepbreathing
//
//  Created by DreamHack on 15-8-13.
//  Copyright (c) 2015年 DreamHack. All rights reserved.
//

#import "UserModel.h"

@implementation UserModel

+ (UserModel *)defaultUser
{
    static UserModel * model;
    static dispatch_once_t onceToken;
    dispatch_once(&onceToken, ^{
        model = [[UserModel alloc] init];
    });
    return model;
}

#pragma mark - private methods
- (BOOL)isAlreadyLoad{
    if ([CYYNetWorkManager currentUserGet] != NULL) {
        //已经登陆
        return YES;
    }else{
        //没有登陆
        return NO;
    }
}


#pragma mark - getter
- (BOOL)needAutoLogin
{
    // to do
    return YES;
}

- (NSString *)versionString{
    return @"1.0";
}




@end
